﻿using Microsoft.Extensions.DependencyInjection;
using System;
using OpenCVDemo.IDao;

namespace OpenCVDemo.Dao
{
    public static class OpenCVDemoDaoExtension
    {
        public static IServiceCollection AddDaos(this IServiceCollection services)
        {
            //注入dao
            services.AddScoped<IEmguCVDao, EmguCVDao>();

            return services;
        }
    }
}
